package com.tian;

import com.tian.factory.ApplicationContextFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * Hello world!
 */
@SpringBootApplication
public class PayMqApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(PayMqApplication.class, args);
        ApplicationContextFactory.setApplicationContext(context);
    }
}
